package com.youlu.campus.entity.data;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * 数据抽样人物
 */
@Getter
@Setter
@Document(collection = "data_simpling_task")
public class DataSimplingTask extends EntityBase {
    private String name;
    /**
     * 数量
     */
    private Integer num;
    /**
     * 文件地址
     */
    private String fileUrl;
    /**
     * 状态
     * todo: 未开始
     * running: 运行中
     * done: 完成
     * redo: 废弃
     */
    private String status="todo";

    private Date startTime;

    private Date endTime;

    private String desc;

    private String optUser;
}
